package com.zhenzhen.xszhcp.model;

import java.util.Date;

public class Student {
    private Integer id;

    private Integer xuehao;

    private String sname;

    private Date scsny;

    private String sphone;

    private String by1;

    private Integer sscid;

    private String by2;

    private String ssex;

    private String szy;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getXuehao() {
        return xuehao;
    }

    public void setXuehao(Integer xuehao) {
        this.xuehao = xuehao;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname == null ? null : sname.trim();
    }

    public Date getScsny() {
        return scsny;
    }

    public void setScsny(Date scsny) {
        this.scsny = scsny;
    }

    public String getSphone() {
        return sphone;
    }

    public void setSphone(String sphone) {
        this.sphone = sphone == null ? null : sphone.trim();
    }

    public String getBy1() {
        return by1;
    }

    public void setBy1(String by1) {
        this.by1 = by1 == null ? null : by1.trim();
    }

    public Integer getSscid() {
        return sscid;
    }

    public void setSscid(Integer sscid) {
        this.sscid = sscid;
    }

    public String getBy2() {
        return by2;
    }

    public void setBy2(String by2) {
        this.by2 = by2 == null ? null : by2.trim();
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex == null ? null : ssex.trim();
    }

    public String getSzy() {
        return szy;
    }

    public void setSzy(String szy) {
        this.szy = szy == null ? null : szy.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", xuehao=").append(xuehao);
        sb.append(", sname=").append(sname);
        sb.append(", scsny=").append(scsny);
        sb.append(", sphone=").append(sphone);
        sb.append(", by1=").append(by1);
        sb.append(", sscid=").append(sscid);
        sb.append(", by2=").append(by2);
        sb.append(", ssex=").append(ssex);
        sb.append(", szy=").append(szy);
        sb.append("]");
        return sb.toString();
    }
}